using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Evaluation3;
using Evaluation3.classes;
using Evaluation3.services;

public partial class uicontrol_logedUser : UserControl
{
    usersServices objUser = new usersServices();
    protected void Page_Load(object sender, EventArgs e)
    {
        //LoadData();
    }

    public remoteUser getRemoteUser() { return (remoteUser)Session["remoteUser"]; }

    #region LoadData()
    public void LoadData()
    {
        //objUser.MaDoanhNghiep = int.Parse(Session["CompanyID"].ToString());
        //DataTable dt = objUser.User_GetCompanyInfo();
        //lblTenDN.Text = dt.Rows[0]["TenDoanhNghiep"].ToString();
        //lblNamTL.Text = dt.Rows[0]["NamThanhLap"].ToString();
        //lblDiaChi.Text = dt.Rows[0]["DiaChi"].ToString();
        //lblDienThoai.Text = dt.Rows[0]["SoDienThoai_Fax"].ToString();
        //lblLinhVuc.Text = dt.Rows[0]["ChucNang"].ToString();
        //lblEmail.Text = dt.Rows[0]["Email"].ToString();
        //lblHomeSite.Text = "<a href='" + dt.Rows[0]["WebSite"].ToString() + "' target='_blank'>" + dt.Rows[0]["WebSite"].ToString() + "</a>";
    } 
    #endregion
    public void btn_changePass_Click(Object sender, EventArgs e) { 
    
    }
    public void btn_logOut_Click(Object sender, EventArgs e)
    {
        Response.Redirect("../../logout.aspx");
    }
}
